<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>JSPWiki Test Anonymous Create Group</title>
</head>
<body> 
<table cellpadding="1" cellspacing="1" border="1">
	<tbody>
	<tr><td rowspan="1" colspan="3">
	JSPWiki Test Anonymous Create Group<br>
	Try to create a group; we should get redirected to login page
	</td></tr>
	<tr><td>store</td>	<td>/@selenium.context@</td>	<td>baseUrl</td></tr>
	<tr><td>store</td>	<td>${baseUrl}/NewGroup.jsp</td>	<td>newgroupurl</td></tr>
	<tr><td>store</td>	<td>${baseUrl}/UserPreferences.jsp?redirect=Main</td>	<td>prefsurl</td></tr>

    <tr><td>open</td>	<td>${prefsurl}</td>	<td>&nbsp;</td></tr>
    <tr><td>verifyElementPresent</td>	<td>css=form#clearCookie input[name="ok"]</td>		<td>&nbsp;</td></tr>
    <tr><td>clickAndWait</td>	<td>css=form#clearCookie input[name="ok"]</td>	<td>&nbsp;</td></tr>


    <tr><td>open</td>	<td>${newgroupurl}</td>	<td>&nbsp;</td></tr>
    
    <tr><td>assertTitle</td>	<td>JSPWiki: Login</td>	<td>&nbsp;</td></tr>
    <tr><td>assertTextPresent</td>	<td>Please sign in</td>	<td>&nbsp;</td></tr>
    
	</tbody>
</table>

</body>
</html>
